package com.example.oss.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("t_course")
public class Course {

    @TableId(type = IdType.AUTO)
    private int id;
    private String name;
    private int amount;
    private String teacher;
    @TableField(value = "_version")
    private Integer version;
}
